package com.hst.capacity.domain.model.response.intercity.task;

import com.hst.capacity.domain.model.response.intercity.IcSearchVO;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Alias("icTaskDetailVO")
public class IcTaskDetailVO {
    //任务ID
    private String idTask;
    //任务状态
    private Integer taskStatus;
    //线路ID
    private String idLine;
    //线路名称
    private String lineName;
    //出发时间/排班时间
    private String scheduleTime;
    //在乘坐人数
    private Integer passengersIncarNumber;
    //已运送乘客数
    private Integer transportedPassengersNumber;
    //乘客总数///
    private Integer passengersNumber;
    //任务总金额
    private Float taskSumMoney;
    //任务订单总数
    private Integer OrderSize;
    //任务加价金额
    private Float taskAdditionalMoney;
    //追加金额

    //优惠卷总额
    private Float taskCouponMoney;
    //订单总数
    private int orderCount;
    //订单完成数
    private int orderCompletedCount;
    //带货订单数
    private int orderCarryGoodsCount;

    //班次编号
    private String idSchedule;
    //司机ID
    private String idDriver;
    //司机姓名
    private String driverName;
    //司机电话
    private String driverMobile;
    //车辆座位数
    private Integer seats;
    //车牌号
    private String plateNumber;
    //所属服务商
    private String idFranchisee;
    //服务类型
    private String serviceType;
    //分账状态(0：未分账 1：已分账 2：错账 3:销账)
    private String balanceAccountStatus;
    //任务审核状态（0：未审核 1：已审核）
    private String checkedStatus;
    //创建人
    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;

    private String memo;
    //审核人
    private String auditor;

    public void setOrders(List<IcSearchVO> orders) {
        this.OrderSize=orders.size();
        this.orders = orders;
    }

    private List<IcSearchVO> orders;


//    //任务优惠金额
//    private Float taskCouponMoney;
//    //订单
//    //订单总金额
//    private Float orderSumMoney;



//    //用车时间
//    private LocalDateTime appointmentTime;
//    //用车类型 0拼车/1包车
//    private Integer carpoolType;
//    //订单类型 1实时/0预约
//    private Integer orderType;
//    //乘车人电话号
//    private String passengerMobile;
//    //支付状态
//    private Integer paymentStatus;
//    //预估价格
//    private Float estimatedMoney;
//    //预估花费时间
//    private Integer estimatedTime;
//    //预估里程
//    private Float referenceDistance;
//    //司机联系电话
//    private String driverMobile;

}
